<?php
//Config Options
error_reporting(15);
set_time_limit(0);

// Strip out javascript, styles etc..
$GLOBALS['search_regexp'] =  array (
				 '@<script[^>]*?>.*?</script>@si', // Strip out javascript
				 '@<a[^>]*?>.*?</a>@si', // Strip out A links
				 '@<input[^>]*?>.*?</input>@si', // Strip out A links
				 '@<select[^>]*?>.*?</select>@si', // Strip out A links
				 '@<textarea[^>]*?>.*?</textarea>@si', // Strip out A links
				 '@<a[^>]*?>.*?</a>@si', // Strip out A links
				 '|',
                 '@<[\/\!]*?[^<>]*?>@si',          // Strip out HTML tags
                 '@([\r\n])[\s]+@',                // Strip out white space
                 '@&(quot|#34);@i',                // Replace HTML entities
                 '@&(amp|#38);@i',
                 '@&(lt|#60);@i',
                 '@&(gt|#62);@i',
                 '@&(nbsp|#160);@i',
                 '@&(iexcl|#161);@i',
                 '@&(cent|#162);@i',
                 '@&(pound|#163);@i',
                 '@&(copy|#169);@i',
                 '@&#(\d+);@e'
				 );                    // evaluate as php            
$GLOBALS['replace_regexp'] = array (
				  '',
                  '',
				  '',
				  '',
				  '',
				  '',
				  ' ',
                  '',
                  ' ',
                  '',
                  '',
                  '',
                  '',
                  '',
                  '',
                  '',
                  '',
                  '');

$GLOBALS['omit'] = array(
'a','an','am','at','are','and','as','all','also',
'b','by','be','but',
'c','can','can\'t','could',
'd','do','did','does','done',
'e','each','else','even','ever','every',
'f','from','for',
'g','get','got','go',
'h','have',"hi","he","his","him","her","has","how","had","here", 
'i','in','is','if',"its",
'j','just',
'k',
'l',"like","led","lap","let",
'm','more',"my","me","many","must",'most',
'n',"no","not","new","now",
'o','our','on','only','of','on',"or","once",
'p','put',
'q',
'r',
's','so',"some","say","she",
't','to','the','then','that','this',
'u',"use","us","up","upon",
'v',"via","vow",
'w','we','which','who','what','why','with','were',"was","whose",'will','within',
'x',
'y','you','your',"yes","ya",
'z',' ',"\n","\t",
);
?>